package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 * 
 * @author DoGH
 * @email sunlightcs@gmail.com
 * @date 2023-10-25 10:37:42
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    /**
     * 批量删除属性与分组的关联关系
     *
     * @param entities 分组-属性关系
     * @author DuGuanghan
     * @since 2024-02-01 14:47:18
     */
    void deleteBatchRelationAttr(@Param("entities") List<AttrAttrgroupRelationEntity> entities);

}
